package com.zut.blocks.dao.course.grade;

import com.zut.blocks.base.domain.CourseGrade;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CourseGradeRepository extends JpaRepository<CourseGrade, Integer> {
    List<CourseGrade> findAllByCourseId(Integer courseId);

}
